


<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
		'id'=>'nnn-form',
		'enableClientValidation'=>true,
		'clientOptions'=>array(
				'validateOnSubmit'=>true,
		),
)); ?>

	<div class="row buttons">
			<?php echo $form->labelEx($model,'id'); ?>
			<?php echo $form->textField($model,'id'); ?>
			<?php echo $form->error($model,'id'); ?>
	</div>

	<div class="row buttons">
			<?php echo $form->labelEx($model,'name'); ?>
			<?php echo $form->textField($model,'name'); ?>
			<?php echo $form->error($model,'name'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton('submit'); ?>
	</div>


<?php $this->endWidget(); ?>
</div><!-- form -->


